<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?>    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>Winweal网站</title>
<link href="<?php echo CSS_PATH;?>css/bootstrap.css" rel="stylesheet">
<link href="<?php echo CSS_PATH;?>css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<br/><br/>
<font color="red">
*首页图片轮播是指首页导航下面的四张图片以幻灯片的形式显示，更新模块，banner1对应上面的ID001，以此类推，链接框是指当点击相应的图片后所链接的网址，如果是本网站的页面，只要以"?m=caswee&c=自己填"的形式填写，m是指链接的模块caswee，c是指模块里的php文件，自己填入php文件的名字即可！*</font><br/><br/><br/><br/>
<div class="row-fluid">
   
	<table table class="table table-striped">

	 
    <thead>
    <tr>
	 <th>ID</th>
    <td>banner</td>
    <td>link</td>
	
	  
    </tr>
    </thead>
    <tbody>
	  <?php $n=1;if(is_array($infos)) foreach($infos AS $info) { ?>
    <tr>
	 <td><?php echo $info['id'];?></td>
    <td><?php echo $info['banner'];?></td>
    <td><?php echo $info['text'];?></td>
	
	
    </tr>
			    <?php $n++;}unset($n); ?>
    </tbody>

    </table>
	</div>
     <hr style=" height:4px; background:#F3C117; "/>
        </hr>
	        <div id ="up" style="margin-top:10px;">
        <form action="<?php echo APP_PATH;?>index.php?m=caswee&c=fristpage&a=ly"  method="post"   enctype="multipart/form-data" ">
          <table border="1" bordercolor="#CCCCCC" cellspacing="1" class="table table-striped">
            <thead>
              <tr>
                <td colspan="4"><b>更新<br/></b></td>
              </tr>
            </thead>
            <tbody>
		
               <tr> <td>banner1：</td>
                <td>图片：<input type="file" name="file"></td>
   <td>链接：<input type="text" name="text"></td>
   <input type="hidden"  value="1" name="id"/>
     <td colspan="10" align="center" id="idMsg"><input type="submit" value="更新" id="idBtnupload"  name="dosubmit" />
                  <input type="reset" value="重置" id="idBtndel" name="reset"/></td>
              </tr>
			  </form>
            
               <tr>
			   	  <form action="<?php echo APP_PATH;?>index.php?m=caswee&c=fristpage&a=ly"  method="post"   enctype="multipart/form-data">
                <td >banner2：</td>
                <td>图片：<input type="file" name="file"></td>
				   <td>链接：<input type="text" name="text"></td>
				    <input type="hidden"  value="2" name="id"/>
				     <td colspan="10" align="center" id="idMsg"><input type="submit" value="更新" id="idBtnupload"  name="dosubmit" />
                  <input type="reset" value="重置" id="idBtndel" name="reset"/></td>
</form>
              </tr>
			  
            
			     <tr>
				 <form action="<?php echo APP_PATH;?>index.php?m=caswee&c=fristpage&a=ly"  method="post"   enctype="multipart/form-data">
                <td>banner3：</td>
                <td>图片：<input type="file" name="file"></td>
				 <td>链接：<input type="text" name="text"></td>
				  <input type="hidden"  value="3" name="id"/>
  <td colspan="10" align="center" id="idMsg"><input type="submit" value="更新" id="idBtnupload"  name="dosubmit" />
                  <input type="reset" value="重置" id="idBtndel" name="reset"/></td>
				  </form>
              </tr>
			  
           
			    <tr>
				<form action="<?php echo APP_PATH;?>index.php?m=caswee&c=fristpage&a=ly"  method="post"   enctype="multipart/form-data">
                <td>banner4：</td>
                <td>图片：<input type="file" name="file"></td>
			 <td>链接：<input type="text" name="text"></td>
			   <td colspan="10" align="center" id="idMsg">
			     <input type="hidden"  value="4" name="id"/>
				 <input type="submit" value="更新" id="idBtnupload"  name="dosubmit" />
                  <input type="reset" value="重置" id="idBtndel" name="reset"/></td>
				  </form>
              </tr>
              
		
       
           
              
            </tbody>
          </table>
        </form>
     
    </div>
	</body>
	</html>
